cmake_minimum_required(VERSION 3.5)

SET(CMAKE_BUILD_TYPE "debug")
#SET(CMAKE_BUILD_TYPE "release")

#SET(PROJECT_NAME "RapidJsonTest")
#project(${PROJECT_NAME})

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread")
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g -ggdb -pipe")

SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/output)

#add_definitions(-DRAPIDJSON_ASSERT)

add_executable("rapidjson_test" rapidjson_test.cc)

add_executable("serialize_test" serialize_test.cc)

add_executable("tutorial_test" tutorial_test.cc)

add_executable("pointer_test" pointer_test.cc)
